package com.itheima.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
//实体类和数据库表进行映射
@Table(name="account",catalog = "test")
public class UserInfo {

    private int id;
    @Column(name = "AccountName")
    private String accountName;
    private String remaining;
}
